package com.ruoyi.teacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师信息对象 sx_teachers
 * 
 * @author ruoyi
 * @date 2024-06-07
 */
public class SxTeachers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师id */
    private Long teacherId;

    /** 教职工号 */
    @Excel(name = "教职工号")
    private Long tsno;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别1男，2女 */
    @Excel(name = "性别1男，2女")
    private Long gender;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 院系 */
    @Excel(name = "院系")
    private String department;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 电话 */
    @Excel(name = "电话")
    private String phoneNumber;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }
    public void setTsno(Long tsno) 
    {
        this.tsno = tsno;
    }

    public Long getTsno() 
    {
        return tsno;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("tsno", getTsno())
            .append("name", getName())
            .append("gender", getGender())
            .append("age", getAge())
            .append("department", getDepartment())
            .append("title", getTitle())
            .append("phoneNumber", getPhoneNumber())
            .append("email", getEmail())
            .toString();
    }
}
